package cn.iocoder.yudao.module.biz.controller.admin.expand.targets.vo;

import lombok.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 拓展目标分页 Request VO")
@Data
public class ExpandTargetPageReqVO extends PageParam {

    @Schema(description = "终端名称", example = "张三")
    private String name;

    @Schema(description = "终端类型:1.客户;2.渠道;3合作伙伴", example = "2")
    private String type;

    @Schema(description = "详情id", example = "16373")
    private Long detailId;

    @Schema(description = "负责人姓名", example = "李四")
    private String directorName;

    @Schema(description = "联系人电话")
    private String contactNumber;

    @Schema(description = "地址")
    private String address;

    @Schema(description = "终端创建人id", example = "8057")
    private Long ownerUserId;

    @Schema(description = "终端创建人姓名", example = "张三")
    private String ownerUserName;

    @Schema(description = "最后一次拓展时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] lastExpandTime;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}